/*
 * @Author: liao.mingjin@byd.com
 * @Date: 2022-11-18 20:55:53
 * @LastEditors: liao.mingjin@byd.com
 * @LastEditTime: 2022-11-18 21:03:49
 * @FilePath: /project/gitee.com/project_-ccplus/ringbuffer_shm/common.c
 * @Description: 
 * 
 * Copyright (c) 2022 by cal.liao/BYD, All Rights Reserved. 
 */


//#include "common.h"

// //ring_buffer_root
// void InitRingbufferRoot(struct ring_buffer_root* rb_root)
// {
//     rb_root->nSize = sizeof(struct ring_buffer_root);
//     rb_root->nShmid = CreateRingbufferRoot(rb_root);

//     rb_root->pCreateRingbufferRoot = CreateRingbufferRoot;
//     rb_root->pDeleteRingbufferRoot = DeleteRingbufferRoot;
//     rb_root->pGetShmRingbufferRoot = GetShmRingbufferRoot;
//     rb_root->pGetShmAddressRingbufferRoot = GetShmAddressRingbufferRoot;
// }

// int CreateRingbufferRoot(struct ring_buffer_root* rb_root)
// {

// }

// int GetShmRingbufferRoot(struct ring_buffer_root* rb_root)
// {

// }

// void* GetShmAddressRingbufferRoot(struct ring_buffer_root* rb_root)
// {

// }

// int DeleteRingbufferRoot(struct ring_buffer_root* rb_root)
// {

// }

// //ring_buffer_data
// void InitRingbufferData(struct ring_buffer_data* rb_data)
// {

// }

// int CreateRingbufferData(struct ring_buffer_data* rb_data)
// {

// }

// int GetShmRingbufferData(struct ring_buffer_data* rb_data)
// {

// }

// void* GetShmAddressRingbufferData(struct ring_buffer_data* rb_data)
// {

// }

// int DeleteRingbufferData(struct ring_buffer_data* rb_data)
// {

// }